package org.jeecg.modules.yinsheng.command.protocolpay;

import java.io.Serializable;

import org.jeecg.modules.yinsheng.annotation.NotBlank;
import org.jeecg.modules.yinsheng.annotation.NotNull;
import org.jeecg.modules.yinsheng.annotation.Pattern;

/**
 * 
 * <P>创建订单和登记明细请求参数-快捷支付参数</P>
 * 
 * @version $Id$
 * @user zcw 2021年6月3日 上午10:38:56
 */
public class ProtocolFastToPayMsgCommand implements Serializable {

	private static final long serialVersionUID = -6111034823259489517L;

	// 交易金额（单位：元）(必填)
	@NotNull(message = "交易金额不能为空")
	@Pattern(regexp = "^([0-9]+|[0-9]{1,3}(,[0-9]{3})*)(.[0-9]{1,2})?$", message = "交易金额格式不正确")
	private String amount;

	// 唯一客户标识，商户旗下客户号(必填)
	@NotBlank(message = "唯一客户标识不能为空")
	private String userId;

	// 绑定的快捷协议号,银盛生成的协议号(登陆后 *)长度<1,32>(必填)
	@NotBlank(message = "快捷协议号不能为空")
	private String protocolNo;

	// 是否为新卡绑定并支付(行别)(必填)
	@NotBlank(message = "是否为新卡绑定并支付不能为空")
	private String firstPay;

	// 是否继续进行快捷支付（fastPayFlag为N时，停止进行支付，只创建支付明细）(必填)
	@NotBlank(message = "是否继续进行快捷支付不能为空")
	private String fastPayFlag;

	// 卡片有效期（贷记卡必填）
	private String cardExprDt;

	// CVV码（贷记卡必填）
	private String cvv;

	// 商户类别码 备注：Mcc码（支持上传多个，多个用|分割）比如：5811|5812|5813
	private String mccs;

	// 第三方商户号 备注:商户自主上送渠道商户号
	private String thirdMercId;

	// 业务扩展参数
	private String payerExtradata;

	// 域名
	private String srcDomian;

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getProtocolNo() {
		return protocolNo;
	}

	public void setProtocolNo(String protocolNo) {
		this.protocolNo = protocolNo;
	}

	public String getFirstPay() {
		return firstPay;
	}

	public void setFirstPay(String firstPay) {
		this.firstPay = firstPay;
	}

	public String getFastPayFlag() {
		return fastPayFlag;
	}

	public void setFastPayFlag(String fastPayFlag) {
		this.fastPayFlag = fastPayFlag;
	}

	public String getCardExprDt() {
		return cardExprDt;
	}

	public void setCardExprDt(String cardExprDt) {
		this.cardExprDt = cardExprDt;
	}

	public String getCvv() {
		return cvv;
	}

	public void setCvv(String cvv) {
		this.cvv = cvv;
	}

	public String getMccs() {
		return mccs;
	}

	public void setMccs(String mccs) {
		this.mccs = mccs;
	}

	public String getThirdMercId() {
		return thirdMercId;
	}

	public void setThirdMercId(String thirdMercId) {
		this.thirdMercId = thirdMercId;
	}

	public String getPayerExtradata() {
		return payerExtradata;
	}

	public void setPayerExtradata(String payerExtradata) {
		this.payerExtradata = payerExtradata;
	}

	public String getSrcDomian() {
		return srcDomian;
	}

	public void setSrcDomian(String srcDomian) {
		this.srcDomian = srcDomian;
	}

}
